package com.slwish.xty.entity;

import com.slwish.xty.base.BaseModel;

import java.util.List;

/**
 * 模块说明：首页BannerModel
 *
 * @author 陈浩
 * @date 2017/11/28
 */

public class MainBannerModel extends BaseModel{
    private List<BannerModel> data;


    public List<BannerModel> getData() {
        return data;
    }

    public void setData(List<BannerModel> data) {
        this.data = data;
    }

    public class BannerModel {

        private String serverPath;
        private String merchantId;

        public String getServerPath() {
            return serverPath;
        }

        public void setServerPath(String serverPath) {
            this.serverPath = serverPath;
        }

        public String getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(String merchantId) {
            this.merchantId = merchantId;
        }

        @Override
        public String toString() {
            return "BannerModel{" +
                    "serverPath='" + serverPath + '\'' +
                    ", merchantId='" + merchantId + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MainBannerModel{" +
                "data=" + data +
                '}';
    }
}
